Document is corrupted when opened due to unknown cause (no backup copy).The document file is corrupted and no backup copy exists. Create a macro called Screen which opens and repairs the corrupt document. 1) Select the 'File' menu and select 'New...' to open a new document. 2) Select the 'Tools' menu and select 'Macro...'. (The Macro dialog box appears.) 3) Enter SCREEN in the macro name box. 4) Choose the 'Create' button. (The screen contains Sub MAIN and End Sub below.) 5) Enter the following immediately below the Sub MAIN line: ScreenUpdating 0 FileOpen.Name = c:\docs\mydoc.doc ViewNormal ToolsOptionsView.DraftFont = 1, .PicturePlaceHolders = 1 ToolsOptionsGeneral.Pagination = 0 ScreenUpdating NOTE: The name C:\DOCS\MYDOC.DOC should be the path and name of the corrupt document. 6) Select the 'File' menu and select 'Close'. 7) Choose 'Yes' when prompted to keep changes to the macro Global: Screen. 8) Select the 'Tools' menu and select 'Macro...'. 9) Select 'Screen' from the list of macros. 10) Choose the 'Run' button. 11) Do the following if the document opens: a) Select the 'File' menu and select 'Save As...'. b) Select 'Rich Text Format (*.rtf)' from the 'Save As File Type' drop-down list box. c) Enter a new filename. d) Choose 'Save'. Knowledge-Pak Desktop Suite (TM) Edition 5 Copyright (c) 1994-1997 by ServiceWare Inc. Subject to the terms set forth in the end-user license agreement. All rights reserved. Subject to the terms set forth in the end-user license agreement. All rights reserved. |